import fetches from './request'
const { fetch } = fetches;
//判断系统报名是否开始
export let getSysZt = () => {
    return fetch("/api/Student/GetSysZt", 'get')
}
//学生登陆接口
export let loginStudent = (data, key) => {
    return fetch(`/api/Student/Zmkm?key=${key}`, data, 'post')
}
//学生注册
export let studReg = data => {
    return fetch('/api/Student/StudReg', data, 'post')
}
//获取符合报名条件的出生日期
export let getSysPara = data => {
    return fetch('/api/Student/GetSysPara', data, 'get')
}
//获取项目信息
export let getProject = data => {
    return fetch('/api/Student/GetProj', data, 'get')
}
//修改基础信息
export let studeFirst = data => {
    return fetch('/api/Student/StudeFirst', data, 'post')
}
//判断学生是否可修改信息、注销
export let getVerify = () => {
    return fetch("/api/Student/ReviseVerify", "get")
}